<template>
  <div class="layout-page">
    <router-view></router-view>
    <van-tabbar v-model="active" route >
      <van-tabbar-item to="/index" icon="wap-home-o">首页</van-tabbar-item>
      <van-tabbar-item to="/findhouse" icon="search">找房</van-tabbar-item>
      <van-tabbar-item to="/message" icon="newspaper-o">资讯</van-tabbar-item>
      <van-tabbar-item to="/user" icon="user-o">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>
<script>
export default {
  name: 'layout-page',
  data () {
    return {
      active: 0
    }
  }
}
</script>

<style lang="less" scoped></style>
